import request from '@/utils/request'

// 获取服务支持列表
export function getCustomerService() {
  return request({
    url: '/service/support/detail',
    method: 'get'
  })
}

// 新增服务支持
export function addCustomerService(data) {
  return request({
    url: '/service/support/add',
    method: 'post',
    data
  })
}

// 删除服务支持
export function deleteCustomerService(data) {
  return request({
    url: '/service/support/delete',
    method: 'post',
    data
  })
}

// 设置服务支持状态
export function setCustomerService(data) {
  return request({
    url: '/service/support/switch/set',
    method: 'post',
    data
  })
}
